function MockController(iview) {
  MockController.prototype.view = iview;
}

MockController.prototype = Object.create(IController.prototype);
MockController.prototype.fetchAllData = function(searchCriteria,sortTypeEnum,sortAsc) {
	var aContent = [];
	for (var i=1;i<=10;i++){
		var contentData = new ContentData();
		contentData.ResourceType = 'Book '+i.toString();
		contentData.DisplayTitle = 'Book'+i.toString();
		contentData.MediaType = 'pdf';
		contentData.Language ='English';
		aContent.push(contentData);
	}
	this.view.bindData(aContent);
}

